#!/bin/bash

cd ../../openipc
pwd


webrtc() {
    #
    rm -rf \
        output/per-package/webrtc-audio-processing \
        output/build/webrtc-audio-processing-*
    #
    BOARD=gk7205v200_ultimate_baresip make br-webrtc-audio-processing-{dirclean,rebuild}
}


libre() {
    #
    rm -rf \
        output/per-package/libre-openipc \
        output/build/libre-openipc-*
    #
    BOARD=gk7205v200_ultimate_baresip make br-librem-openipc-{dirclean,rebuild}
}


librem() {
    #
    rm -rf \
        output/per-package/librem-openipc \
        output/build/librem-openipc-*
    #
    BOARD=gk7205v200_ultimate_baresip make br-librem-openipc-{dirclean,rebuild}
}


baresip() {
    #
    rm -rf \
        output/per-package/baresip-openipc \
        output/build/baresip-openipc-*
    #
    BOARD=gk7205v200_ultimate_baresip make br-baresip-openipc-{dirclean,rebuild}
}


gps() {
    #
    rm -rf \
        output/per-package/gps-openipc \
        output/build/gps-openipc*
    #
    BOARD=gk7205v200_ultimate_baresip make br-gps-openipc-{dirclean,rebuild}
}


#baresip

gps
